﻿@model DE_MVC_WyFy.Models.Product
@{
    ViewBag.Title = Model.Name;
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<link href="@Url.Content("~/Content/css/style.css")" rel="stylesheet" />
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.8.3.js"></script>
<script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>

<script>
    $(function () {
        $("#tabs").tabs({
            beforeLoad: function (event, ui) {
                ui.jqXHR.error(function () {
                    ui.panel.html(
                        "Couldn't load this tab. We'll try to fix this as soon as possible. " +
                        "If this wouldn't be a demo.");
                });
            }
        });
    });
</script>
<div id="pro_detail">
    <div class="detail-imgproduct">
        <div class="innner-block-parent">
            <div class="inner-img-detail zoom-thumb-detail">
                <div id="wrap" style="top: 0px; z-index: 999; position: relative;">
                    <a href="http://shop-photo.123.vn/11/12/2012/1200x1500/1355200068_MTre_20121206_514.jpg" class="cloud-zoom" id="zoom1" rel="adjustX:10, adjustY:0, zoomWidth:400" style="position: relative; display: block;">
                        <img src="http://shop-photo.123.vn/11/12/2012/380x475/1355200068_MTre_20121206_514.jpg" class="img-detail-popup img-detail" style="display: block;"></a>
                    <div class="mousetrap" style="background-image: url(http://123.vn/ao-so-mi-bong-tay-ngan-trang-bong-den-abn054_23195.html#); z-index: 999; position: absolute; width: 380px; height: 475px; left: 0px; top: 0px; cursor: move;"></div>
                </div>
            </div>
            <div align="center" class="ico_moi_small"></div>
        </div>
        <div class="carousel widget">
            <div style="position: relative; width: 380px;">
                <div style="float: left; width: 10px;"><a class="prev_detail" href="javascript:void(0);" style="display: none;"></a></div>
                <div class="jCarouselLite" style="float: left; height: 115px; width: 400px; overflow: hidden">
                    <ul class="thumb_detail zoom-thumb-view" style="left: 0px; margin-left: 0px;">
                        <li>
                            <img src="http://shop-photo.123.vn/11/12/2012/60x75/1355200052_MTre_20121206_513.jpg" class="img-thumb" width="60" height="75"></li>
                        <li>
                            <img src="http://shop-photo.123.vn/11/12/2012/60x75/1355200068_MTre_20121206_514.jpg" class="img-thumb img-thumb_active" width="60" height="75"></li>
                        <li onmouseover="onMoveOver(this, 'http://shop-photo.123.vn/11/12/2012/1200x1500/1355200088_MTre_20121206_515.jpg','http://shop-photo.123.vn/11/12/2012/380x475/1355200088_MTre_20121206_515.jpg');" width="60" height="75">
                            <img src="http://shop-photo.123.vn/11/12/2012/60x75/1355200088_MTre_20121206_515.jpg" class="img-thumb" width="60" height="75"></li>
                        <li onmouseover="onMoveOver(this, 'http://shop-photo.123.vn/11/12/2012/1200x1500/1355200113_MTre_20121206_516.jpg','http://shop-photo.123.vn/11/12/2012/380x475/1355200113_MTre_20121206_516.jpg');" width="60" height="75">
                            <img src="http://shop-photo.123.vn/11/12/2012/60x75/1355200113_MTre_20121206_516.jpg" class="img-thumb" width="60" height="75"></li>
                        <li onmouseover="onMoveOver(this, 'http://shop-photo.123.vn/11/12/2012/1200x1500/1355200122_MTre_20121206_519.jpg','http://shop-photo.123.vn/11/12/2012/380x475/1355200122_MTre_20121206_519.jpg');" width="60" height="75">
                            <img src="http://shop-photo.123.vn/11/12/2012/60x75/1355200122_MTre_20121206_519.jpg" class="img-thumb" width="60" height="75"></li>
                    </ul>
                </div>
                <div style="float: right; right: 0; position: absolute;"><a class="next_detail" href="javascript:void(0);" style="display: none;"></a></div>
            </div>
        </div>
    </div>
    <div class="detail-text">
        <h2>@Model.Name</h2>

        <!-- description Mô tả sản phẩm-->
        <div class="font-normal des_style">
            <span class="detail_text_short_description">
                @Model.Description</span>
            <div id="short_promotion"></div>
        </div>

        <!--Định dạng các trường của sản phẩm-->
        <div class="pro_filed">
            <span class="lable">@Html.LabelFor(model => model.Price): </span>
            <span class="filed price">@String.Format("{0:0,0} VNĐ", Model.Price) </span>
        </div>
        <div class="pro_filed">
            <span class="lable">@Html.LabelFor(model => model.ID): </span>
            <span class="filed">@Model.ID </span>
        </div>
        <div class="pro_filed">
            <span class="lable">@Html.LabelFor(model => model.Point): </span>
            <span class="filed">@Model.Point </span>
        </div>
        <div class="pro_filed">
            <span class="lable">@Html.LabelFor(model => model.Brand): </span>
            <span class="filed">@Model.Brand </span>
        </div>
        <div class="pro_filed">
            <span class="lable">@Html.LabelFor(model => model.Origin): </span>
            <span class="filed">@Model.Origin </span>
        </div>
        <div class="pro_filed">
            <span class="lable">Phân loại: </span>
            <span class="filed">@Model.ProducTypeName </span>
        </div>
        <div class="pro_filed">
            <span class="lable">Chất liệu: </span>
            <span class="filed">@Model.ProducTypeName </span>
        </div>
        <div class="pro_filed">
            <span class="lable">Kích thước: </span>
            <span class="filed">
                <ul class="choose-color col2">
                    <li>
                        <select id="attr_size" class="select-col2 size_order_select">
                            <option value=""></option>
                            <option value="23196">S</option>
                            <option value="23197">M</option>
                            <option value="23198">L</option>
                            <option value="23199">XL</option>
                            <option value="23200">XXL</option>
                        </select>
                    </li>
                </ul>
            </span>
        </div>
        <div class="pro_filed">
            <span class="lable">Số lượng: </span>
            <span class="filed">
                <div class="font-medium">
                    <div class="col_1right-detail">
                        <select name="quantity_de" id="quantity_de" class="select-col2 qty_order_select"></select>
                        <div class="qty_order_select_none" style="display: none; color: #F00;">Hiện tại sản phẩm đã hết hàng</div>
                    </div>
                </div>
            </span>
        </div>
        <div class="pro_filed">
            <span class="lable">&nbsp</span>
            <span class="filed">
                @Html.ActionLink("Add to cart", "AddToCart",
        "ShoppingCart", new { id = Model.ID }, "")
            </span>
        </div>

        <div class="c1"></div>
    </div>
    @*<div class="tbl-col1-pr">
    <h1>Thông tin người mẫu</h1>
    <p style="text-align: left;">Chiều cao: 1m78, vòng 1: 101, vòng 2: 73, vòng 3: 95.</p>
    <p style="text-align: left;">Cân nặng: 66kg.</p>
    <p style="text-align: left;">Người mẫu mặc size <strong>M</strong>.</p>

</div>*@
</div>
<div class="wrapper" style="margin-bottom: 20px">
    <div id="tabs">
        <ul class="tab-detail">
            @*<li><a href="#tabs-1" title="info" class="selected tab">Thông tin chi tiết</a></li>*@
            <li><a href="#tabs-1" title="info" class="">Thông tin chi tiết</a></li>
            <li><a href="#tabs-2">tab2</a></li>
            <li><a href="#tabs-3">tab3</a></li>
        </ul>
        <div id="tabs-1">
            <p>@Model.Detail</p>
        </div>
        <div id="tabs-2">
            <p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p>
        </div>
        <div id="tabs-3">
            <p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p>
            <p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p>
        </div>
    </div>

</div>

